package com.ltx.blog_ltx.entity.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private int userId;
    private String userName;
    private int userSex;
    private String userPwd;
    private String userHead;
    private String userEmile;
    private String userPhone;
    private Date userBirthday;
    private String userNote;
    private int userAtnid;
    private int userFansid;
    private int userCollid;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    private int status;     //假删除5
    private int fansNum;
    private int attentionNum;
}
